<?php
            require_once 'phpqrcode/phpqrcode.php';
            error_reporting(E_ERROR);            
            $url = "http://www.sina.com";
            QRcode::png($url);          